package com.qk.management.aop.anno;

import java.lang.annotation.*;
import java.util.concurrent.TimeUnit;

/**
 *
 * @author lyl
 * @created 2025/10/18 19:56
 * @description
 *
 */
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@SuppressWarnings("unused")
public @interface Cacheable {

    String Key() default "";

    String keyPrefix() default "";

    long expireTime() default 0;

    TimeUnit expireTimeUnit() default TimeUnit.SECONDS;
}
